<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>老师录入论文成绩</title>
<link href="<%=basePath%>css/ls2.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>images/skin.css" rel="stylesheet"
	type="text/css" />
</head>
<body>
	<div id="contain5">
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			class="tab1">
			<tr>
				<td width="17" valign="top" background="../images/mail_leftbg.gif"><img
					src="../images/left-top-right.gif" width="17" height="29" /></td>
				<td valign="top" background="../images/content-bg.gif">
					<table width="100%" height="31" border="0" cellpadding="0"
						cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31">
								<div class="titlebt">
									<p>录入论文成绩</p>
								</div>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<div id="main5">
			<div id="cj1">
                <!-- 
				<div class="bt1">
					<p>
						<img src="../images/righttb1.gif" />
					</p>
				</div>
                 -->
				<div class="bt2">
					<p>题目名称</p>
				</div>
				<div class="bt3">
					<p>学生姓名</p>
				</div>
				<div class="bt4">
					<p>班级</p>
				</div>
				<div class="bt5">
					<p>学号</p>
				</div>
				<div class="bt6">
					<p>指导成绩</p>
				</div>
				<div class="bt7">
					<p>评阅成绩</p>
				</div>
				<div class="bt8">
					<p>答辩成绩</p>
				</div>
				<div class="bt9">
					<p>论文总成绩</p>
				</div>

				<div class="bt10">
					<p>指导老师填写指导教师评审</p>
				</div>

				<div class="bt11">
					<p>指导老师填写答辩小组意见</p>
				</div>
                
                <div class="bt12">
                    <p>打印总成绩表</p>
                </div>
                
			</div>
			<c:forEach items="${tutorialList}" var="tutorial" varStatus="i">
				<div class="cj2">
                    <!-- 
					<div class="bt110">
						<p>
							<img src="../images/righttb1.gif" />
						</p>
					</div>
                     -->
					<div class="bt22">
						<p>${tutorial.project.title}</p>
					</div>
					<div class="bt33">
						<p>${tutorial.project.student.name}</p>
					</div>
					<div class="bt44">
						<p>${tutorial.project.student.studentClass.description}</p>
					</div>
					<div class="bt55">
						<p>${tutorial.project.student.no}</p>
					</div>
					<div class="bt66">
						<p>${tutorial.achievementLevel+tutorial.workAbility+tutorial.basicAbility+tutorial.workLoad}</p>
					</div>
					<div class="bt77">
						<p>无</p>
					</div>
					<div class="bt88">
						<p>无</p>
					</div>
					<div class="bt99">
						<p>0</p>
					</div>
					<c:choose>
						<c:when test="${tutorial.state == null}">
							<div class="bt100">
								<p>
									<b> <a
										href="tutorReview.html?project_id=${tutorial.project.id}&&tutor_id=${tutorial.tutor.id}"
										target="_self" style="color: #03C;">填写指导教师评审</a>
									</b>
								</p>
							</div>
						</c:when>
						<c:when test="${tutorial.state == true}">
							<div class="bt100">
								<p>
									<b> <a
										href="tutorReview.html?project_id=${tutorial.project.id}&&tutor_id=${tutorial.tutor.id}"
										target="_self" style="color: #ff0000;">修改评审</a>
									</b>
								</p>
							</div>
						</c:when>
						<c:when test="${tutorial.state == false}">
							<div class="bt100">
								<p>
									<b> <a
										href="tutorReview.html?project_id=${tutorial.project.id}&&tutor_id=${tutorial.tutor.id}"
										target="_self" style="color: #00ff01;">确认指导教师评审</a>
									</b>
								</p>
							</div>
						</c:when>
					</c:choose>
					
					<div class="bt111">
						<p>
                        <c:set var="publicReplyState" value="${tutorial.project.publicReply.state}" />
                        <c:choose>
                            <c:when test="${publicReplyState == null}">
                                <b><a href="dabianxiaozuyijianbiao.html?projectId=${tutorial.project.id}&tutorId=${tutorial.tutor.id}" style="color: #03C;">填写答辩小组意见</a></b>
                            </c:when>
                            <c:when test="${publicReplyState == false}">
                                <b><a href="dabianxiaozuyijianbiao.html?projectId=${tutorial.project.id}&tutorId=${tutorial.tutor.id}" style="color: #ff0000;">修改答辩小组意见</a></b>
                            </c:when>
                            <c:when test="${publicReplyState == true}">
                                <b><a href="dabianxiaozuyijianbiao.html?projectId=${tutorial.project.id}&tutorId=${tutorial.tutor.id}" style="color: #00ff01;">查看答辩小组意见</a></b>
                            </c:when>
                        </c:choose>
							
						</p>
					</div>
                    
                    <div class="bt120">
                        <p>
                            <b><a href="getTotalScoreByXls.html?projectId=${tutorial.project.id}" style="color: #03C;">打印总成绩表</a></b>
                        </p>
                    </div>
				</div>
			</c:forEach>

		</div>
		<p style="color: #0000FF; padding-left: 800px;">[1]&nbsp;[2]&nbsp;[3]...下一页&nbsp;&nbsp;共有30条记录</p>
	</div>
</body>
</html>